﻿using System;
using System.Collections.Generic;
using System.Text;
using GD.ModelContest.Model;

namespace GD.ModelContest.Service
{
    public interface INewsService
    {
        bool InsertNews(mc_news news);

        bool UpdateNews(mc_news news);

        bool DeleteNews(int newsId);

        mc_news GetNewsById(int newsId);

        IList<mc_news> GetNewsCollection(int newsTypeId, int pageIndex, int pageSize, ref int count);

        IList<mc_news> GetNewsCollection(int newsTypeId, int num);
    }
}
